package cate.common.table.activity.cutstone.sheet;

import cate.common.table.ESheet;
import cate.common.table.activity.cutstone.row.CutRewardPoolRow;

import java.util.List;
import java.util.stream.Collectors;

public class CutRewardPoolSheet extends ESheet<CutRewardPoolRow> {
    @Override
    public String getSheetName() {
        return "鉴宝品质奖励";
    }

    public List<CutRewardPoolRow> getListByQuality(int quality) {
        return getList().stream().filter(row->row.quality==quality).collect(Collectors.toList());
    }
}
